package huanzhao.erp.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

@TableName(value = "position")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Position implements Serializable {

    @TableField(value = "team_id")
    private Long teamId;


    @TableField(value = "staff_id")
    private Long staffId;

    /**
     * 是否为该团队的录入员
     */
    @TableField(value = "input")
    private Boolean input;

    /**
     * 是否为该团队的质检员
     */
    @TableField(value = "qc")
    private Boolean qc;

    /**
     * 是否为该团队的上架员
     */
    @TableField(value = "up")
    private Boolean up;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}